﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Server.Model;

namespace Server.Controller.Graph
{
    interface IGraphAlgoritme
    {
        void addStation(Station station);

        Station getVertexById(int id);

        void addRoute(int fromId, int toId, double distance, int time);

        Route getEdge(Station v1, Station v2);
        
        ICollection<Station> getAdjantVertices(Station vertex);

        IEnumerator<Station> Vertices();

        ICollection<Station> Dijkstras(Station start, Station end);

    }
}
